﻿@charset "utf-8";

*{
    margin: 0;
    padding: 0;
    -webkit-box-sizing:border-box; /* Safari */
       -moz-box-sizing:border-box; /* Firefox */
            box-sizing:border-box;
}
html{ 
    width: 100%; 
    height: 100%; 
    font-size: 62.5%; 
    background: #fff;
}
body{
    width: 100%;
    max-width: 640px;
    margin:0 auto;
    overflow-x:hidden;
    overflow-y:auto;
    font-size: 14px;
    font-family:"微软雅黑",Arial,Helvetica,sans-serif; 
    color:#707070;
    -webkit-font-smoothing: antialiased;
            font-smoothing: antialiased;
    -webkit-text-size-adjust: 100% !important;
            text-size-adjust: 100% !important;

}
header,nav,section,aside,hgroup,figure,footer,dialog{
    display: block;
}   
li{
    list-style: none;
}
input:focus {
    outline: none;
}
textarea:focus {
    outline: none;
}
a{
    text-decoration: none;
    color: #707070;
}
/* 1.去除android a/button/input标签被点击时产生的边框 2.去除ios a标签被点击时产生的半透明灰色背景 */
a,button,input{
    -webkit-tap-highlight-color:rgba(255,0,0,0);
    border-radius: 0;
}

/* IE不支持 */ 
a:focus { 
    -moz-outline-style: none;
} 

/*很多网站都会加的属性*/
a:focus { 
    outline: none; 
} 

/* 去掉苹果默认样式 */
input,textarea{
    -webkit-appearance:none;
    color: #262424; 
    border:none; 
    border-radius: 0;
    font-family:"微软雅黑",Arial,Helvetica,sans-serif;
} 
select{
     font-family:"微软雅黑",Arial,Helvetica,sans-serif;
}

/*清除浮动*/
.clear:after{
        content: ".";
        display: block;
        height: 0;
        visibility: hidden;
        clear: both;
    }
.clear{
    *zoom:1;
}

i{ font-style: normal;}